﻿<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">
<html lang="fr">
<head>
        <style><!--

						/*paged media */ 
						div.header {display: none }
						div.footer {display: none } 
						/*@media print { */
						
							div.footer {display: block; position: running(footer) }
						

						@page { size: A4; margin: 10%; @top-center {
						content: element(header) } @bottom-center {
						content: element(footer) } }


						/*font definitions*/

						/*element styles*/ del
						{text-decoration:line-through;color:red;}
						
								ins {text-decoration:none;}
							

						/*class styles*/

						
						
						/* Word style definitions */
						
 /* TABLE STYLES */ 
.TableNormal {display:table;position: relative; margin-left: 0in;}
.TableGrid {display:table;position: relative; margin-left: 0in;border-top-style: solid;border-top-width: 1px;border-top-color: #000000;border-bottom-style: solid;border-bottom-width: 1px;border-bottom-color: #000000;border-left-style: solid;border-left-width: 1px;border-left-color: #000000;border-right-style: solid;border-right-width: 1px;border-right-color: #000000;space-after: 0in;line-height: 100%;}

 /* PARAGRAPH STYLES */ 
.DocDefaults {display:block;space-after: 4mm;line-height: 115%;font-family: Calibri;font-size: 11.0pt;}
.Normal {display:block;}
.NormalWeb {display:block;space-before: 0.07in;space-after: 0.07in;line-height: 100%;font-family: Times New Roman;font-size: 12.0pt;}
.Command {display:block;position: relative; margin-left: 0.5in;font-family: Consolas;font-size: 10.0pt;}
.Heading1 {display:block;page-break-after: avoid;space-before: 0.33in;space-after: 4mm;font-weight: bold;color: #365F91;font-family: Calibri;font-size: 18.0pt;}
.Footer {display:block;space-after: 0in;line-height: 100%;}
.Title {display:block;space-after: 0.21in;line-height: 100%;color: #17365D;font-family: Calibri;font-size: 26.0pt;}
.FootnoteText {display:block;space-after: 0in;line-height: 100%;font-size: 10.0pt;}
.ListParagraph {display:block;position: relative; margin-left: 0.5in;}
.Heading2 {display:block;space-before: 0.07in;space-after: 0.07in;line-height: 100%;font-weight: bold;font-style: italic;font-family: Calibri;font-size: 14.0pt;}
.h3 {display:block;font-style: normal;font-size: 11.0pt;text-decoration: none;}

 /* CHARACTER STYLES */ .DefaultParagraphFont {display:inline;}
.Hyperlink {display:inline;color: #0000FF;text-decoration: none;}
.icon {display:inline;}
.FootnoteReference {display:inline;vertical-align: top;font-size: xx-small;}
.xmlmarkupattributename {display:inline;}
.apple-style-span {display:inline;}
.xmlmarkuptagname {display:inline;}
.apple-converted-space {display:inline;}
.xmlmarkupattributevalue {display:inline;}
.xmlmarkupbracket {display:inline;}
.underline {display:inline;}


						/* TABLE CELL STYLES */
						#docx4j_tbl_0 td { border-top-style: solid;border-top-width: 1px;border-top-color: #000000;border-bottom-style: solid;border-bottom-width: 1px;border-bottom-color: #000000;border-right-style: solid;border-right-width: 1px;border-right-color: #000000;border-left-style: solid;border-left-width: 1px;border-left-color: #000000;height: 5mm;}
--></style>
</head>
<body style="position: relative; top: 40px; ">

            <p class="Title Normal DocDefaults "><span class="notranslate">docx4j</span><span   > Mise en route</span></span></p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >La dernière version de ce document peut toujours être trouvée dans </span></span></span>
                <a class="notranslate" href="http://dev.plutext.org/svn/docx4j/trunk/docx4j/docs/">
                    <span class="Hyperlink DefaultParagraphFont ">docx4j svn in /docs</span>
                </a>
                <span style="white-space:pre-wrap;"><span   > (En </span></span><span class="notranslate">Flat OPC XML</span><span   > format Word 2007, </span></span></span>
                <a class="notranslate" href="http://dev.plutext.org/svn/docx4j/trunk/docx4j/docs/Docx4j_GettingStarted.html">
                    <span class="Hyperlink DefaultParagraphFont ">HTML</span>
                </a>
                <span style="white-space:pre-wrap;"><span   >, Et </span></span></span>
                <a class="notranslate" href="http://dev.plutext.org/svn/docx4j/trunk/docx4j/docs/Docx4j_GettingStarted.pdf">
                    <span class="Hyperlink DefaultParagraphFont ">PDF</span>
                </a><span   >).</span></span></p>

            <p class="Normal DocDefaults "><span   >Ce document a été traduit de l'anglais en utilisant Google Translate.</span> <span  >Si vous pouvez améliorer la traduction, s'il vous plaît n'hésitez pas à envoyer votre version améliorée.</span> <span  >Pour les plus récentes, toujours se référer à la version anglaise. </span></span></p>

            <p class="Heading1 Normal DocDefaults "><span   >Qu'est-ce que </span></span><span class="notranslate">docx4j</span><span   >?</span></span></p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span class="notranslate">docx4j</span><span  ><span style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-size: 100%; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; vertical-align: baseline; display: inline; background-position: initial initial; b > est une bibliothèque pour une décompression docx "paquet", et l'analyse du XML WordprocessingML de créer une représentation en mémoire dans </span></span></span>
                <span style="font-weight: bold;" class="notranslate">Java</span>
                <span style="white-space:pre-wrap;"><span   >.</span> <span  >Les versions récentes de </span></span><span class="notranslate">docx4j</span><span   > également en charge les fichiers Powerpoint pptx.  </span></span></span>
            </p>

            <p class="Normal DocDefaults "><span   >Il est semblable au concept de Microsoft OpenXML SDK, qui est pour. NET.</span></span></p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span class="notranslate">docx4j</span><span   > est open source, disponible sous la licence Apache (v2).</span> <span style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-size: 100%; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; vertical-align: baseline; display: inline; background-position: initial initial; b >En tant que projet open source, les contributions sont les bienvenues.</span> <span  >S'il vous plaît voir le </span></span><span class="notranslate">docx4j</span><span   > Forum à </span></span></span>
                <a class="notranslate" href="http://dev.plutext.org/forums/">
                    <span style="color: #0000FF;text-decoration: none;">http://dev.plutext.org/forums/</span>
                </a>
                <span style="white-space:pre-wrap;"><span   > pour plus de détails.</span></span></span>
            </p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span class="notranslate">docx4j</span><span   > repose largement sur </span></span></span>
                <span style="font-weight: bold;" class="notranslate">JAXB</span><span   >, La norme XML pour Java JCP contraignant.</span> <span  >Vous pouvez penser </span></span><span class="notranslate">docx4j</span><span   > comme une mise en œuvre de JAXB (entre autres):</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >conventions Open Packaging</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >WordprocessingML (DOCX), une partie de l'Open XML</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span>
                <span style="white-space:pre-wrap;"><span   >Presentation ML (pptx) part of OpenXML </span></span></span>
            </p>

            <p class="Normal DocDefaults "><span   >La bibliothèque est conçu pour compléter les fichiers docx voyage avec 100% de fidélité, et soutient tous 2007 WordML.</span> <span  >Support pour les nouveaux Word 2010 fonctionnalités seront ajoutés prochainement.</span></span></p>

            <p class="Normal DocDefaults "><span   >Le </span></span><span class="notranslate">docx4j</span><span   > projet est parrainé par </span></span><span class="notranslate">Plutext</span><span   > (</span></span><a class="notranslate" href="http://www.plutext.com"><span class="Hyperlink DefaultParagraphFont ">www.plutext.com</span>
                </a><span   >).</span></span></p>

            <p class="Heading1 Normal DocDefaults "><span   >Est </span></span><span class="notranslate">docx4j</span><span   > pour vous?</span></span></p>

            <p class="Normal DocDefaults "><span class="notranslate">docx4j</span><span   > est pour le traitement des documents docx (pptx et présentations) en Java.</span></span></p>

            <p class="Normal DocDefaults "><span   >Ce n'est pas pour les anciens binaires (. Doc).</span> <span  >Pour ceux, regardez HWPF Apache POI.</span> <span  >(En fait, </span></span><span class="notranslate">docx4j</span><span   > HWPF utilise pour la conversion de base de. doc à. docx)</span></span></p>

            <p class="Normal DocDefaults "><span   >Il n'est pas pour les fichiers RTF.</span></span></p>

            <p class="Normal DocDefaults "><span   >Si vous voulez traiter les documents docx sur la plate-forme. NET, vous devriez regarder de Microsoft OpenXML SDK lieu.</span></span></p>

            <p class="Normal DocDefaults "><span   >Une alternative à la </span></span><span class="notranslate">docx4j</span><span   > POI Apache.</span> <span  >Je recommande en particulier que pour les documents Excel traitement.</span> <span  >Il peut également être utilisé pour traiter les documents Word, et comme il utilise XmlBeans (pas JAXB), il peut être un meilleur choix si vous souhaitez utiliser XmlBeans.</span></span></p>

            <p class="Heading1 Normal DocDefaults "><span   >Quelles sortes de choses que vous pouvez faire avec </span></span><span class="notranslate">docx4j</span><span   >?</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Ouvrir docx existants (à partir de système de fichiers, SMB / CIFS, WebDAV avec VFS)</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Créer un nouveau docx</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >manipuler par programme le document docx (bien sûr)</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Template substitution; CustomXML binding</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Importer un fichier binaire doc (utilise Apache POI HWPF)</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Produire / 2007 du consomment xmlPackage Word (PKG) format</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >docx Enregistrer en tant que système de fichiers docx (c.-à-zippé), ou à JCR (décompressé)</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Appliquer transforme, y compris les filtres courants</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >à l'exportation au format HTML ou PDF</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Diff / comparer des documents, de paragraphes ou (le contenu de contrôles SDT)</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Support des polices (substitution de polices, et l'utilisation de toutes les polices incorporées dans le document)</span></span></p>

            <p class="Heading1 Normal DocDefaults "><span   >Les projets utilisant </span></span><span class="notranslate">docx4j</span></p>

            <p class="Normal DocDefaults "><span   >Docx4all est le traitement de texte basé sur Swing.</span></span></p>

            <p class="Normal DocDefaults "><span   >collaboration Plutext pour Word 2007 utilise </span></span><span class="notranslate">docx4j</span><span   > sur le serveur, de déchiqueter les documents Word en petits morceaux qui peuvent être propres versions.</span></span></p>

            <p class="Normal DocDefaults "><span   >S'il vous plaît contactez Plutext si vous souhaitez que votre projet pour être énumérées ici.</span></span></p>

            <p class="Heading1 Normal DocDefaults "><span   >Quels sont les documents Word il prend en charge?</span></span></p>

            <p class="Normal DocDefaults "><span class="notranslate">docx4j</span><span   > peut lire / écrire des documents docx créés par ou pour Word 2007, ou des versions antérieures qui ont installé le pack de compatibilité.</span></span></p>

            <p class="Normal DocDefaults "><span   >Les parties pertinentes de </span></span><span class="notranslate">docx4j</span><span   > sont générés à partir des schémas ECMA.</span></span></p>

            <p class="Normal DocDefaults "><span   >Il ne peut pas lire ou écrire des documents Word 2003 XML.</span> <span  >Le principal problème avec ceux que l'espace de noms XML est différent.</span></span></p>

            <p class="Normal DocDefaults "><span class="notranslate">docx4j</span><span   > appuiera Word 2010 fichiers docx.</span></span></p>

            <p class="Heading1 Normal DocDefaults "><span   >Utilisation </span></span><span class="notranslate">docx4j</span><span   > binaires</span></span></p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >Vous pouvez télécharger la dernière version de </span></span><span class="notranslate">docx4j</span><span   > à partir de </span></span></span>
                <a class="notranslate" href="http://dev.plutext.org/docx4j/">
                    <span class="Hyperlink DefaultParagraphFont ">http://dev.plutext.org/docx4j/</span>
                </a>
            </p>

            <p class="Normal DocDefaults "><span   >En général, nous vous suggérons de mettre au point contre une construction en cours de nuit, depuis la dernière version officielle est souvent vieux de plusieurs mois.</span></span></p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >bocaux de soutien peuvent être trouvées dans la version. tar.gz, ou dans le sous-répertoire pertinent.  </span></span></span>
            </p>

            <p class="Heading1 Normal DocDefaults "><span   >Utilisation </span></span><span class="notranslate">docx4j</span><span   > par </span></span><span class="notranslate">Maven</span></p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span class="notranslate">Maven POM</span><span   > peut être trouvé à </span></span></span>
                <a class="notranslate" href="http://dev.plutext.org/trac/docx4j/browser/trunk/docx4j/m2/org/docx4j/docx4j">
                    <span class="Hyperlink DefaultParagraphFont ">http://dev.plutext.org/trac/docx4j/browser/trunk/docx4j/m2/org/docx4j/docx4j</span>
                </a>
            </p>

            <p class="Heading1 Normal DocDefaults "><span   >versions JDK</span></span></p>

            <p class="Normal DocDefaults ">
                <span class="apple-style-span DefaultParagraphFont "><span   >Vous devez être à l'aide </span></span><span class="notranslate">Java 1.5+</span><span   >.</span></span></span>
            </p>

            <p class="Normal DocDefaults ">
                <span class="apple-style-span DefaultParagraphFont "><span   >C'est à cause de JAXB</span></span></span>
                <span class="FootnoteReference DefaultParagraphFont ">
                    <span style="vertical-align: top; font-size: xx-small">
                        <a class="notranslate" name="fs1">
                            </a><a href="#fn1"><span   >1</span></span></a>
                        
                    </span>
                </span>
                <span class="apple-style-span DefaultParagraphFont "><span   >.</span> <span  >Si vous devez utiliser 1.4, retrotranslator peut</span></span></span>
                <span class="apple-converted-space DefaultParagraphFont ">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <a href="http://forums.java.net/jive/message.jspa?messageID=212494#googtrans/auto/fr">
                    <span class="icon DefaultParagraphFont "><span   >faire aurait</span></span></span>
                </a>
                <span class="apple-style-span DefaultParagraphFont ">
                    <span style="white-space:pre-wrap;"><span   > -elle.</span></span></span>
                </span>
            </p>

            <p class="Heading1 Normal DocDefaults "><span   >Un mot sur JAXB</span></span></p>

            <p class="Normal DocDefaults "><span class="notranslate">docx4j</span><span   > JAXB utilise à Marshall et unmarshall les principaux éléments dans un document WordprocessingML, y compris la partie du document principal, la part des styles, la partie thématique, et les parties des propriétés.</span></span></p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >JAXB est inclus dans le Java de Sun 6 distributions, mais 1,5 pas.</span> <span  >Donc, si vous utilisez le JDK 1.5, vous devrez 2.1.x JAXB sur votre chemin de classe.  </span></span></span>
            </p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >Bits de </span></span><span class="notranslate">docx4j</span><span   >, Tels que </span></span></span>
                <a class="notranslate" href="http://dev.plutext.org/trac/docx4j/trac/docx4j/browser/trunk/docx4j/src/main/java/org/docx4j/wml">
                    <span class="Hyperlink DefaultParagraphFont ">org.docx4j.wml</span>
                </a>
                <span style="white-space:pre-wrap;"><span   > et </span></span></span>
                <span class="apple-converted-space DefaultParagraphFont " style="font-family: Calibri;"> </span>
                <a class="notranslate" href="http://dev.plutext.org/trac/docx4j/trac/docx4j/browser/trunk/docx4j/src/main/java/org/docx4j/dml">
                    <span class="Hyperlink DefaultParagraphFont ">org.docx4j.dml</span>
                </a>
                <span style="white-space:pre-wrap;"><span   > ont été générés à l'aide de XJC JAXB.</span> <span  >Nous avons modifié le schéma wml.xsd en particulier, de sorte que les classes principales qui en résultent sont un peu plus l'homme sympathique (ne pas commencer avec tous les CT_ et ST_). </span></span></span>
            </p>

            <p class="Heading1 Normal DocDefaults ">
                <span style="font-family: Calibri;"><span   >Log4j</span></span></span>
            </p>

            <p class="Normal DocDefaults ">
                <span class="underline DefaultParagraphFont ">
                    <span style="white-space:pre-wrap;"><span class="notranslate">docx4j</span><span   > log4j utilise pour se connecter.</span> <span  >Pour activer la journalisation, vous avez besoin d'un log4.properties ou log4j.xml sur votre chemin de classe.</span> <span  >Voir, par exemple </span></span></span>
                </span>
                <a class="notranslate" href="http://dev.plutext.org/trac/docx4j/browser/trunk/docx4j/src/main/resources/log4j.xml">
                    <span style="color: #0000FF;text-decoration: none;">http://dev.plutext.org/trac/docx4j/browser/trunk/docx4j/src/main/resources/log4j.xml</span>
                </a>
            </p>

            <p class="Heading1 Normal DocDefaults notranslate">Javadoc</p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >Javadoc pour la navigation en ligne ou à télécharger, se trouve dans le répertoire </span></span></span>
                <a class="notranslate" href="http://dev.plutext.org/docx4j/">
                    <span style="color: #0000FF;text-decoration: none;">http://dev.plutext.org/docx4j/</span>
                </a>
            </p>

            <p class="Heading1 Normal DocDefaults "><span class="notranslate">docx4j</span><span   > code source</span></span></p>

            <p class="Normal DocDefaults "><span   >Pour obtenir une copie du code source en cours:</span></span></p>

            <p class="NormalWeb Normal DocDefaults notranslate">   <span style="font-family: Consolas;font-size: 10.0pt;">svn co</span>
                <span class="apple-converted-space DefaultParagraphFont " style="font-family: Consolas;font-size: 10.0pt;"> </span>
                <a class="notranslate" href="http://dev.plutext.org/svn/docx4j/trunk/docx4j">
                    <span class="icon DefaultParagraphFont " style="font-family: Consolas;font-size: 10.0pt;">http://dev.plutext.org/svn/docx4j/trunk/docx4j</span>
                </a>
                <span class="apple-converted-space DefaultParagraphFont " style="font-family: Consolas;font-size: 10.0pt;"> </span>
                <span style="font-family: Consolas;font-size: 10.0pt;">docx4j</span>
            </p>

            <p class="Normal DocDefaults "><span   >Alternativement, vous pouvez consulter en ligne, à:</span></span></p>

            <p class="Normal DocDefaults notranslate">http://dev.plutext.org/trac/docx4j/browser/trunk/docx4j/</p>

            <p class="Heading1 Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >Bâtiment </span></span><span class="notranslate">docx4j</span><span   > de la source </span></span></span>
            </p>

            <p class="Heading2 Normal DocDefaults "><span   >ligne de commande - Instructions rapide</span></span></p>

            <p class="Normal DocDefaults "><span   >"Rapide" qui est, à condition d'avoir Maven et Ant d'installé.</span> <span  >Notez que nous n'utilisons que maven pour saisir les dépendances, de ne pas faire la construction réelle.</span></span></p>

            <p class="Normal DocDefaults "><span   >Créez un répertoire appelé espace de travail, et allez dedans.</span></span></p>

            <p class="NormalWeb Normal DocDefaults notranslate">   <span style="font-family: Consolas;font-size: 10.0pt;">svn co</span>
                <span class="apple-converted-space DefaultParagraphFont " style="font-family: Consolas;font-size: 10.0pt;"> </span>
                <a class="notranslate" href="http://dev.plutext.org/svn/docx4j/trunk/docx4j">
                    <span class="icon DefaultParagraphFont " style="font-family: Consolas;font-size: 10.0pt;">http://dev.plutext.org/svn/docx4j/trunk/docx4j</span>
                </a>
                <span class="apple-converted-space DefaultParagraphFont " style="font-family: Consolas;font-size: 10.0pt;"> </span>
                <span style="font-family: Consolas;font-size: 10.0pt;">docx4j</span>
            </p>

            <p class="Normal DocDefaults "><span   >pom.xml ouverte, trouvez la ligne qui se lit</span></span></p>

            <p class="Command NormalWeb Normal DocDefaults notranslate">&lt;systemPath&gt;/usr/lib/jvm/java-6-sun/jre/lib/rt.jar&lt;/systemPath&gt;</p>

            <p class="Normal DocDefaults "><span   >et de modifier pour l'adapter à votre système.</span></span></p>

            <p class="Command NormalWeb Normal DocDefaults ">
                <span style="white-space:pre-wrap;" class="notranslate">mvn install </span>
            </p>

            <p class="NormalWeb Normal DocDefaults notranslate" style="position: relative; margin-left: 0.5in;">
                <span style="font-family: Consolas;font-size: 10.0pt;">ant dist</span>
            </p>

            <p class="Normal DocDefaults "><span   >Cette commande va créer la fourmi docx4j.jar et placez-le et toutes ses dépendances dans le répertoire dist.</span></span></p>

            <p class="Heading2 Normal DocDefaults"><span   >Éclipse</span></span></p>

            <p class="h3 Heading2 Normal DocDefaults "><span   >Pré-requis</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Eclipse installée</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Installer un plugin Eclipse par exemple, la subversion</span></span><span class="apple-converted-space DefaultParagraphFont "> </span>
                <a class="notranslate" href="http://subclipse.tigris.org/update_1.2.x">
                    <span class="icon DefaultParagraphFont ">http://subclipse.tigris.org/update_1.2.x</span>
                </a>
            </p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Installer</span></span><span class="apple-converted-space DefaultParagraphFont "> </span>
                <a class="notranslate" href="http://dev.plutext.org/trac/docx4j/trac/umbrella/wiki/MavenEclipse">
                    <span class="Hyperlink DefaultParagraphFont " style="font-family: Calibri;">Maven and the Eclipse plugin</span>
                </a>
            </p>

            <p class="Normal DocDefaults "><span   >Et, comme nous le verrons ci-dessus:</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Java 1.5 ou 6</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span>
                <span style="white-space:pre-wrap;"><span   >JAXB: </span></span></span>
                <span style="font-weight: bold;"><span   >deux</span></span></span>
                <span style="white-space:pre-wrap;"><span   > la mise en œuvre JAXB inclus dans Java 6, </span></span></span>
                <span style="font-weight: bold;"><span   >et</span></span></span>
                <span style="white-space:pre-wrap;"><span   > l'implémentation de référence 2.x.</span> <span  >(C'est le prix de soutien, soit à l'exécution)</span></span></span>
            </p>

            <p class="h3 Heading2 Normal DocDefaults "><span   >Instructions</span></span></p>

            <p class="ListParagraph Normal DocDefaults notranslate">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>File &gt; New "Project .." &gt; SVN &gt; Checkout Projects from SVN</p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Créer un lieu nouveau référentiel; Url est</span></span><span class="apple-converted-space DefaultParagraphFont "> </span>
                <a class="notranslate" href="http://dev.plutext.org/svn/docx4j">
                    <span class="icon DefaultParagraphFont ">http://dev.plutext.org/svn/docx4j</span>
                </a>
            </p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Cliquez sur le dossier </span></span><span class="notranslate">"trunk"</span><span   >, Et sélectionnez docx4j; cliquez sur Suivant</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Vous voulez le vérifier en tant que projet configuré à l'aide l'Assistant Nouveau projet</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Ensuite, sélectionnez Java&gt; Java du projet; cliquez sur Suivant</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Choisir un nom de projet (par exemple, «docx4j») puis cliquez sur Suivant</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Cliquez sur Terminer (nous allons définir les paramètres de construction Java dans une étape ultérieure)</span></span></p>

            <p class="Normal DocDefaults "><span   >Après quelques autres boîtes de dialogue, vous devriez avoir le nouveau projet dans votre espace de travail.</span></span></p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >Maintenant, nous avons besoin de configurer le </span></span></span>
                <span style="font-weight: bold;"><span   >chemin de classe</span></span></span>
                <span style="white-space:pre-wrap;"><span   > etc au sein d'Eclipse afin de pouvoir construire.</span></span></span>
            </p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Build&gt; Build Path Configurer&gt; Chemin Java Build Path&gt; onglet Source</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Cliquez sur src, puis appuyez sur le bouton Supprimer</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Puis cliquez sur "Ajouter un dossier" et naviguez jusqu'à src / main / java et cocher la case "java"</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Ajouter ensuite </span></span><span class="notranslate">src/svg, src/diffx and src/pptx4j/java</span><span   > aussi</span></span></p>

            <p class="Normal DocDefaults "><span   >Le bit Maven:</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span>
                <span style="white-space:pre-wrap;"><span   >Assurez-vous que vous avez Maven et son plugin installé - voir conditions préalables ci-dessus. </span></span></span>
            </p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >mvn Run installer dans le </span></span><span class="notranslate">docx4j</span><span   > vous à partir d'une invite de commande (juste au cas où)</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Faites un clic droit sur le projet&gt; Maven 2&gt; Activer</span></span></p>

            <p class="Normal DocDefaults "><span   >Le projet devrait maintenant fonctionner sans erreur dans Eclipse</span></span><span class="FootnoteReference DefaultParagraphFont "><span style="vertical-align: top; font-size: xx-small"><a name="fs2"></a><a href="#fn2"><span   >2</span></span></a>
                        
                    </span>
                </span>
                <span style="white-space:pre-wrap;"><span   >. </span></span></span>
            </p>

            <p class="Heading1 Normal DocDefaults ">
                <span style="font-family: Calibri;"><span   >Ouvrir un document docx existants</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <a class="notranslate" href="http://dev.plutext.org/trac/docx4j/trac/docx4j/browser/trunk/docx4j/src/main/java/org/docx4j/openpackaging/packages/WordprocessingMLPackage.java">
                    <span style="font-family: Consolas;">org.docx4j.openpackaging.packages.</span>
                    <span style="font-weight: bold;font-family: Consolas;">WordprocessingMLPackage</span>
                </a><span   > représente un document docx.</span></span></p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Pour charger un document, tout ce que vous avez à faire est:</span></span></p>

            <p class="Command NormalWeb Normal DocDefaults notranslate" style="position: relative; margin-left: 0in;">   <span style="white-space:pre-wrap;">WordprocessingMLPackage wordMLPackage = </span>
                <br clear="all">      WordprocessingMLPackage.load(new java.io.File(inputfilepath));</p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Cette méthode permet également de charger des fichiers XML plat OPC.</span></span></p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Vous pouvez alors obtenir le rôle principal document (word / document.xml):</span></span></p>

            <p class="Command NormalWeb Normal DocDefaults notranslate">
                <a href="http://dev.plutext.org/trac/docx4j/trac/docx4j/browser/trunk/docx4j/src/main/java/org/docx4j/openpackaging/parts/WordprocessingML/MainDocumentPart.java">
                    <span style="font-family: Calibri;">MainDocumentPart</span>
                </a> documentPart = wordMLPackage.getMainDocumentPart();</p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="white-space:pre-wrap;"><span   >Après cela, vous pouvez manipuler son contenu. </span></span></span>
            </p>

            <p class="Heading1 Normal DocDefaults "><span   >concepts WordML</span></span></p>

            <p class="Normal DocDefaults "><span   >Pour ce faire grand-chose au-delà de cela, vous devez avoir une compréhension des concepts de base WordML.</span></span></p>

            <p class="Normal DocDefaults "><span   >Selon la spécification Microsoft Open Packaging, chaque document docx est composé d'un certain nombre de dossiers partie, compressé zip.</span> <span  >Une partie est habituellement XML, mais pourrait ne pas être (une partie d'image, par exemple, n'est pas).</span></span></p>

            <p class="Normal DocDefaults "><span   >Une introduction à WordML est au-delà de la portée de ce document.</span> <span  >Vous pouvez trouver une introduction très lisible en 1</span></span><span style="vertical-align: top;font-size: xx-small;"><span   >ère</span></span></span>
                <span style="white-space:pre-wrap;"><span   > édition la partie 3 (Primer) à </span></span></span>
                <a class="notranslate" href="http://www.ecma-international.org/publications/standards/Ecma-376.htm">
                    <span style="color: #0000FF;text-decoration: none;">http://www.ecma-international.org/publications/standards/Ecma-376.htm</span>
                </a>
                <span style="white-space:pre-wrap;"><span   > ou </span></span></span>
                <a class="notranslate" href="http://www.ecma-international.org/news/TC45_current_work/TC45_available_docs.htm">
                    <span style="color: #0000FF;text-decoration: none;">http://www.ecma-international.org/news/TC45_current_work/TC45_available_docs.htm</span>
                </a>
                <span style="white-space:pre-wrap;"><span   > (Un lien plus étroit, puisque ce n'est pas compressé zip).</span></span></span>
            </p>

            <p class="Heading1 Normal DocDefaults ">
                <span style="font-family: Calibri;">
                    <span style="white-space:pre-wrap;"><span   >JAXB: triage et unmarshalling </span></span></span>
                </span>
            </p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span class="notranslate">docx4j</span><span   > contient une classe qui représente chaque partie.</span> <span  >Par exemple, il ya un </span></span></span>
                <span style="font-family: Consolas;"><span   >MainDocumentPart</span></span></span>
                <span style="white-space:pre-wrap;"><span   > classe.</span> <span  >pièces XML hériter de </span></span></span>
                <span style="font-family: Consolas;"><span   >JaxbXmlPart</span></span></span>
                <span style="white-space:pre-wrap;"><span   >, qui contient un membre appelé </span></span></span>
                <span style="font-weight: bold;font-family: Consolas;"><span   >jaxbElement</span></span></span><span   >.</span> <span  >Si vous voulez travailler avec le contenu d'une partie, vous travaillez avec ses jaxbElement.</span></span></p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >Lorsque vous ouvrez un document docx en utilisant </span></span><span class="notranslate">docx4j</span><span   >, </span></span><span class="notranslate">docx4j</span><span   > automatiquement </span></span></span>
                <span style="font-weight: bold;font-style: italic;"><span   >unmarshals</span></span></span>
                <span style="white-space:pre-wrap;"><span   > le contenu de chaque partie XML à un objet Java de type arbre fortement (l' </span></span><span class="notranslate">jaxbElement</span><span   >).</span></span></span>
            </p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >De même, si / quand vous dites </span></span><span class="notranslate">docx4j</span><span   > pour sauver ces objets Java comme un docx, </span></span><span class="notranslate">docx4j</span><span   > automatiquement </span></span></span>
                <span style="font-weight: bold;font-style: italic;"><span   >maréchaux</span></span></span>
                <span style="white-space:pre-wrap;"><span   > l' </span></span><span class="notranslate">jaxbElement</span><span   > dans chaque partie.</span></span></span>
            </p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >Parfois, vous voulez des choses maréchal ou désorganiser vous-même.</span> <span  >La classe </span></span></span>
                <span style="font-weight: bold;color: #000000;font-family: Consolas;font-size: 9.0pt;" class="notranslate">org.docx4j.jaxb.Context</span>
                <span style="white-space:pre-wrap;"><span   > définit l'ensemble des JAXBContexts utilisés dans </span></span><span class="notranslate">docx4j</span><span   >: </span></span></span>
            </p>

            <tgroup>
                    </tgroup><table class="TableGrid TableNormal notranslate " id="docx4j_tbl_0" style="position: relative; margin-left: 0.76in;table-layout: fixed;border-collapse: collapse;">
                <colgroup>
                    <col style="width: 2in;">
                    <col style="width: 2.94in;">
                </colgroup>
                <tbody><tr style="vertical-align: top;">
                        <td style="vertical-align: middle;">

                            <p class="Normal DocDefaults ">
                                <span style="font-family: Consolas;font-size: 9.0pt;">Jc</span>
                            </p>
                        </td>
                        <td>

                            <p class="Normal DocDefaults ">
                                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">org.docx4j.wml</span>
                                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">
                                    <br clear="all">org.docx4j.dml</span>
                                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">
                                    <br clear="all">org.docx4j.dml.picture</span>
                                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">
                                    <br clear="all">org.docx4j.dml.wordprocessingDrawing</span>
                                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">
                                    <br clear="all">
                                </span>
                                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">org.docx4j.vml</span>
                                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">
                                    <br clear="all">org.docx4j.vml.officedrawing</span>
                                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">
                                    <br clear="all">org.docx4j.math</span>
                            </p>
                        </td>
                    </tr>
                    <tr style="vertical-align: top;">
                        <td style="vertical-align: middle;">

                            <p class="Normal DocDefaults ">
                                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">jcThemePart</span>
                            </p>
                        </td>
                        <td>

                            <p class="Normal DocDefaults ">
                                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">org.docx4j.dml</span>
                            </p>
                        </td>
                    </tr>
                    <tr style="vertical-align: top;">
                        <td style="vertical-align: middle;">

                            <p class="Normal DocDefaults ">
                                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">jcDocPropsCore</span>
                            </p>
                        </td>
                        <td>

                            <p class="Normal DocDefaults ">
                                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">org.docx4j.docProps.core</span>
                            </p>

                            <p class="Normal DocDefaults ">
                                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">org.docx4j.docProps.core.dc.elements</span>
                            </p>

                            <p class="Normal DocDefaults ">
                                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">org.docx4j.docProps.core.dc.terms</span>
                            </p>
                        </td>
                    </tr>
                    <tr style="vertical-align: top;">
                        <td style="vertical-align: middle;">

                            <p class="Normal DocDefaults ">
                                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">jcDocPropsCustom</span>
                            </p>
                        </td>
                        <td>

                            <p class="Normal DocDefaults ">
                                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">org.docx4j.docProps.custom</span>
                            </p>
                        </td>
                    </tr>
                    <tr style="vertical-align: top;">
                        <td style="vertical-align: middle;">

                            <p class="Normal DocDefaults ">
                                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">jcDocPropsExtended</span>
                            </p>
                        </td>
                        <td>

                            <p class="Normal DocDefaults ">
                                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">org.docx4j.docProps.extended</span>
                            </p>
                        </td>
                    </tr>
                    <tr style="vertical-align: top;">
                        <td style="vertical-align: middle;">

                            <p class="Normal DocDefaults ">
                                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">jcXmlPackage</span>
                            </p>
                        </td>
                        <td>

                            <p class="Normal DocDefaults ">
                                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">org.docx4j.xmlPackage</span>
                            </p>
                        </td>
                    </tr>
                    <tr style="vertical-align: top;">
                        <td style="vertical-align: middle;">

                            <p class="Normal DocDefaults ">
                                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">jcRelationships</span>
                            </p>
                        </td>
                        <td>

                            <p class="Normal DocDefaults ">
                                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">org.docx4j.relationships</span>
                            </p>
                        </td>
                    </tr>
                    <tr style="vertical-align: top;">
                        <td style="vertical-align: middle;">

                            <p class="Normal DocDefaults ">
                                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">jcCustomXmlProperties</span>
                            </p>
                        </td>
                        <td>

                            <p class="Normal DocDefaults ">
                                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">org.docx4j.customXmlProperties</span>
                            </p>
                        </td>
                    </tr>
                    <tr style="vertical-align: top;">
                        <td style="vertical-align: middle;">

                            <p class="Normal DocDefaults ">
                                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">jcContentTypes</span>
                            </p>
                        </td>
                        <td>

                            <p class="Normal DocDefaults ">
                                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">org.docx4j.openpackaging.contenttype</span>
                            </p>
                        </td>
                    </tr>
                    <tr style="vertical-align: top;">
                        <td style="vertical-align: middle;">

                            <p class="Normal DocDefaults ">
                                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">jcPML</span>
                            </p>
                        </td>
                        <td>

                            <p class="Normal DocDefaults ">
                                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">org.docx4j.pml</span>
                                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">
                                    <br clear="all">org.docx4j.dml</span>
                                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">
                                    <br clear="all">org.docx4j.dml.picture</span>
                            </p>
                        </td>
                    </tr>
                
            </tbody></table>

            <p class="Normal DocDefaults ">

            </p><p class="Heading1 Normal DocDefaults ">
                <span style="font-family: Calibri;"><span   >Architecture</span></span></span>
            </p>

            <p class="Normal DocDefaults "><span class="notranslate">docx4j</span><span   > a 3 couches:</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;"><span   >1. </span></span></span>
                <span style="font-weight: bold;font-family: Consolas;" class="notranslate">org.docx4j.openpackaging</span>
                <br clear="all">
                <br clear="all">
                <span style="white-space:pre-wrap;"><span   >OpenPackaging gère les choses au niveau de l'emballage conventions ouvertes: une décompression docx en </span></span></span>
                <span style="font-weight: bold;font-family: Consolas;"><span   >WordprocessingMLPackage</span></span></span>
                <span style="white-space:pre-wrap;"><span   > et un ensemble d'objets héritant de la partie; permettant pièces à ajouter / supprimer, sauf les docx</span></span></span>
                <br clear="all">
                <br clear="all">
                <span style="white-space:pre-wrap;"><span   >Cette couche est basée à l'origine sur OpenXML4J (qui est également utilisée par Apache POI). </span></span></span>
                <br clear="all">
                <br clear="all">
                <span style="white-space:pre-wrap;"><span   >Les pièces sont généralement sous-classes de </span></span></span>
                <span style="font-weight: bold;color: #000000;font-family: Consolas;" class="notranslate">org.docx4j.openpackaging.parts.JaxbXmlPart</span>
                <br clear="all">
                <br clear="all">
                <span style="white-space:pre-wrap;"><span   >Les pièces sont disposées dans un arbre.</span> <span  >Si une partie a des descendants, elle aura un </span></span></span>
                <span style="font-weight: bold;font-family: Consolas;" class="notranslate">org.docx4j.openpackaging.parts.relationships.RelationshipsPart</span>
                <span style="white-space:pre-wrap;"><span   > qui identifie les parties descendant.</span> <span  >Le PartsList échantillon (voir section suivante) vous montre comment cela fonctionne.</span></span></span>
                <br clear="all">
                <br clear="all"><span   >Un JaxbXmlPart a un arbre de contenu:</span></span><br clear="all">
                <br clear="all">

                <span class="notranslate">
                    <span style="font-family: Consolas;font-size: 9.0pt;">   public Object getJaxbElement() {</span>
                    <span style="font-family: Consolas;font-size: 9.0pt;">
                        <br clear="all">
                    </span>
                    <span style="font-family: Consolas;font-size: 9.0pt;">   </span>
                    <span style="font-family: Consolas;font-size: 9.0pt;">   return jaxbElement;</span>
                    <span style="font-family: Consolas;font-size: 9.0pt;">
                        <br clear="all">
                    </span>
                    <span style="font-family: Consolas;font-size: 9.0pt;">   }</span>
                    <span style="font-family: Consolas;font-size: 9.0pt;">
                        <br clear="all">
                    </span>
                    <span style="font-family: Consolas;font-size: 9.0pt;">
                        <br clear="all">
                    </span>
                    <span style="font-family: Consolas;font-size: 9.0pt;">   public void setJaxbElement(Object jaxbElement) {</span>
                    <span style="font-family: Consolas;font-size: 9.0pt;">
                        <br clear="all">
                    </span>
                    <span style="font-family: Consolas;font-size: 9.0pt;">   </span>
                    <span style="font-family: Consolas;font-size: 9.0pt;">   this.jaxbElement = jaxbElement;</span>
                    <span style="font-family: Consolas;font-size: 9.0pt;">
                        <br clear="all">
                    </span>
                    <span style="font-family: Consolas;font-size: 9.0pt;">   }</span>
                    <span style="font-family: Consolas;font-size: 9.0pt;">
                        <br clear="all">
                    </span>
                </span>

            </p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;"><span   >2. </span></span></span>
                <span style="white-space:pre-wrap;"><span   >Le </span></span></span>
                <span style="font-weight: bold;color: #000000;"><span   >JAXB</span></span></span>
                <span style="font-weight: bold;">
                    <span style="white-space:pre-wrap;"><span   > arbre de contenu</span></span></span>
                </span>
                <span style="white-space:pre-wrap;"><span   > est le deuxième niveau du modèle à trois couches.</span></span></span>
                <br clear="all">
                <br clear="all">
                <span style="white-space:pre-wrap;"><span   >La plupart des parties (y compris MainDocumentPart, les styles, en-têtes / pieds de page, commentaires, </span></span></span>
                <span style="color: #000000;"><span   >notes de fin</span></span></span>
                <span style="white-space:pre-wrap;"><span   >de bas de page) l'utilisation </span></span></span>
                <a class="notranslate" href="http://dev.plutext.org/trac/docx4j/trac/docx4j/browser/trunk/docx4j/src/main/java/org/docx4j/wml">
                    <span style="font-weight: bold;font-family: Consolas;">org.docx4j.wml</span>
                </a>
                <span style="font-weight: bold;font-family: Consolas;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="white-space:pre-wrap;"><span   >(WordprocessingML); </span></span></span>
                <span style="color: #000000;"><span   >wml</span></span></span>
                <span style="white-space:pre-wrap;"><span   > références </span></span></span>
                <a class="notranslate" href="http://dev.plutext.org/trac/docx4j/trac/docx4j/browser/trunk/docx4j/src/main/java/org/docx4j/wml">
                    <span style="font-weight: bold;font-family: Consolas;">org.docx4j.dml</span>
                </a>
                <span style="font-weight: bold;font-family: Consolas;">
                    <span style="white-space:pre-wrap;"></span>
                </span><span   >(DrawingML) si nécessaire.</span></span><br clear="all">
                <br clear="all"><span   >Ces classes ont été générées à partir des schémas XML Open</span></span><br clear="all">
                <br clear="all">
            </p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;"><span   >3. </span></span></span>
                <span style="font-weight: bold;font-family: Consolas;" class="notranslate">org.docx4j.model</span>
                <span style="font-weight: bold;font-family: Consolas;">
                    <br clear="all">
                </span>
                <span style="font-weight: bold;font-family: Consolas;">
                    <br clear="all">
                </span>
                <span style="white-space:pre-wrap;"><span   >Ce package s'appuie sur les deux couches inférieures de fournir des fonctionnalités supplémentaires, et est progressivement développé.    </span></span></span>
            </p>

            <p class="Heading1 Normal DocDefaults ">
                <span style="font-family: Calibri;"><span   >Les échantillons</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Le org.docx4j.samples paquet contient des exemples de la façon de faire des choses avec </span></span><span class="notranslate">docx4j</span><span   >.</span> <span  >Il s'agit notamment de:</span></span></p>

            <p class="Normal DocDefaults " style="position: relative; margin-left: 0.25in;space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Notions de base</span></span></p>

<div class="notranslate">

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>CreateWordprocessingMLDocument</p>

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>DisplayMainDocumentPartXml</p>

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>OpenAndSaveRoundTripTest</p>

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>OpenMainDocumentAndTraverse</p>

</div>

            <p class="Normal DocDefaults " style="position: relative; margin-left: 0.25in;space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Sortie / Transformation</span></span></p>

<div class="notranslate">

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>CreateHtml</p>

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>CreatePdf</p>

            <p class="Normal DocDefaults " style="position: relative; margin-left: 0.25in;space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
</p></div>
                <span style="white-space:pre-wrap;"><span   >Flat XML OPC </span></span></span>
            <p></p>
<div class="notranslate">

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>ExportInPackageFormat</p>

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>ImportFromPackageFormat</p>

            <p class="Normal DocDefaults " style="position: relative; margin-left: 0.25in;space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
</p></div>
                <span style="white-space:pre-wrap;"><span   >le traitement des images </span></span></span>
            <p></p>
<div class="notranslate">

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>AddImage</p>

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>ConvertEmbeddedImageToLinked</p>
</div>

            <p class="Normal DocDefaults " style="position: relative; margin-left: 0.25in;space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Partie de manutention</span></span></p>
<div class="notranslate">

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>CopyPart</p>

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>ImportForeignPart</p>

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>PartsList</p>

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>StripParts</p>

</div>
            <p class="Normal DocDefaults " style="position: relative; margin-left: 0.25in;space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Divers</span></span></p>
<div class="notranslate">

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>CompareDocuments</p>

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>CreateDocxWithCustomXml</p>

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>CustomXmlBinding</p>

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>DocProps</p>

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>Filter</p>

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>HyperlinkTest</p>

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>NumberingRestart</p>

            <p class="ListParagraph Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;">* </span>UnmarshallFromTemplate</p>
</div>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Si vous avez installé le code source, vous aurez déjà ce paquet.</span></span></p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="white-space:pre-wrap;"><span   >Si vous n'avez pas, vous pouvez consulter en ligne, à </span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <a class="notranslate" href="http://dev.plutext.org/trac/docx4j/browser/trunk/docx4j/src/main/java/org/docx4j/samples">
                    <span class="Hyperlink DefaultParagraphFont " style="font-size: 10.0pt;">http://dev.plutext.org/trac/docx4j/browser/trunk/docx4j/src/main/java/org/docx4j/samples</span>
                </a>
            </p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="white-space:pre-wrap;"><span   >Il existe également plusieurs </span></span></span>
                <span style="font-weight: bold;"><span   >exemples de documents</span></span></span>
                <span style="white-space:pre-wrap;"><span   > dans l'échantillon-docs répertoire /: ce sont les plus facilement accessibles en consultant </span></span><span class="notranslate">docx4j</span><span   > svn.</span></span></span>
            </p>

            <p class="Heading1 Normal DocDefaults ">
                <span style="font-family: Calibri;"><span   >Liste des pièces</span></span></span>
            </p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >Pour avoir une meilleure compréhension de la façon </span></span><span class="notranslate">docx4j</span><span   > travaux et la structure d'un document docx vous pouvez exécuter la </span></span><span class="notranslate">PartsList</span><span   > échantillon sur un docx (ou un pptx).</span> <span  >Si vous le faites, il donnera la liste de la hiérarchie des pièces utilisées dans ce package.</span> <span  >Il vous dira quelle classe est utilisé pour représenter chaque partie, et lorsque cette partie est un JaxbXmlPart, il vous indiquera également quelle classe de la </span></span></span>
                <span style="font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"><span   >jaxbElement </span></span></span>
                </span><span   >est.</span></span></p>

            <p class="Normal DocDefaults "><span   >Par exemple:</span></span></p>
<div class="notranslate">
            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 8.0pt;">Part /_rels/.rels [org.docx4j.openpackaging.parts.relationships.RelationshipsPart]</span>
                <span style="color: #000000;font-family: Consolas;font-size: 8.0pt;">
                    <br clear="all">
                    <span style="white-space:pre-wrap;">  containing JaxbElement:org.docx4j.relationships.Relationships</span>
                </span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">

            </p><p class="Normal DocDefaults " style="position: relative; margin-left: 0.5in;space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 8.0pt;">
                    <span style="white-space:pre-wrap;">Part /docProps/app.xml [org.docx4j.openpackaging.parts.DocPropsExtendedPart]  </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 8.0pt;">
                    <br clear="all">
                    <span style="white-space:pre-wrap;">  containing JaxbElement:org.docx4j.docProps.extended.Properties</span>
                </span>
            </p>

            <p class="Normal DocDefaults " style="position: relative; margin-left: 0.5in;space-after: 0in;line-height: 100%;">

            </p><p class="Normal DocDefaults " style="position: relative; margin-left: 0.5in;space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 8.0pt;">
                    <span style="white-space:pre-wrap;">Part /docProps/core.xml [org.docx4j.openpackaging.parts.DocPropsCorePart]  </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 8.0pt;">
                    <br clear="all">
                    <span style="white-space:pre-wrap;">  containing JaxbElement:org.docx4j.docProps.core.CoreProperties</span>
                </span>
            </p>

            <p class="Normal DocDefaults " style="position: relative; margin-left: 0.5in;space-after: 0in;line-height: 100%;">

            </p><p class="Normal DocDefaults " style="position: relative; margin-left: 0.5in;space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 8.0pt;">
                    <span style="white-space:pre-wrap;">Part </span>
                </span>
                <span style="font-weight: bold;color: #000000;font-family: Consolas;font-size: 8.0pt;">/word/document.xml</span>
                <span style="color: #000000;font-family: Consolas;font-size: 8.0pt;">
                    <span style="white-space:pre-wrap;"> [org.docx4j.openpackaging.parts.WordprocessingML.MainDocumentPart]  </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 8.0pt;">
                    <br clear="all">
                    <span style="white-space:pre-wrap;">  containing JaxbElement:org.docx4j.wml.Document</span>
                </span>
            </p>

            <p class="Normal DocDefaults " style="position: relative; margin-left: 0.5in;space-after: 0in;line-height: 100%;">

            </p><p class="Normal DocDefaults " style="position: relative; margin-left: 1in;space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 8.0pt;">Part /word/settings.xml [</span>
                <span style="color: #000000;font-family: Consolas;font-size: 7.0pt;">org.docx4j.openpackaging.parts.WordprocessingML</span>
                <span style="color: #000000;font-family: Consolas;font-size: 8.0pt;">
                    <span style="white-space:pre-wrap;">.DocumentSettingsPart]  </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 8.0pt;">
                    <br clear="all">
                    <span style="white-space:pre-wrap;">  containing JaxbElement:org.docx4j.wml.CTSettings</span>
                </span>
            </p>

            <p class="Normal DocDefaults " style="position: relative; margin-left: 1in;space-after: 0in;line-height: 100%;">

            </p><p class="Normal DocDefaults " style="position: relative; margin-left: 1in;space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 8.0pt;">Part /word/styles.xml [</span>
                <span style="color: #000000;font-family: Consolas;font-size: 7.0pt;">org.docx4j.openpackaging.parts.WordprocessingML</span>
                <span style="color: #000000;font-family: Consolas;font-size: 8.0pt;">
                    <span style="white-space:pre-wrap;">.StyleDefinitionsPart]  </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 8.0pt;">
                    <br clear="all">
                    <span style="white-space:pre-wrap;">  containing JaxbElement:org.docx4j.wml.Styles</span>
                </span>
            </p>

            <p class="Normal DocDefaults " style="position: relative; margin-left: 1in;space-after: 0in;line-height: 100%;">

            </p><p class="Normal DocDefaults " style="position: relative; margin-left: 1in;space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 8.0pt;">Part /word/media/image1.jpeg [</span>
                <span style="color: #000000;font-family: Consolas;font-size: 7.0pt;">org.docx4j.openpackaging.parts.WordprocessingML</span>
                <span style="color: #000000;font-family: Consolas;font-size: 8.0pt;">
                    <span style="white-space:pre-wrap;">.ImageJpegPart] </span>
                </span>
            </p>
</div>
            <p class="Normal DocDefaults " style="position: relative; margin-left: 1in;space-after: 0in;line-height: 100%;">

            </p><p class="Normal DocDefaults " style="position: relative; margin-left: 1in;space-after: 0in;line-height: 100%;">

            </p><p class="Heading1 Normal DocDefaults ">
                <span style="font-family: Calibri;"><span   >Passer en revue une docx</span></span></span>
            </p>

            <p class="Normal DocDefaults ">
                <a class="notranslate" href="http://dev.plutext.org/trac/docx4j/browser/trunk/docx4j/src/main/java/org/docx4j/samples/OpenMainDocumentAndTraverse.java">
                    <span style="color: #0000FF;text-decoration: none;">OpenMainDocumentAndTraverse.java</span>
                </a>
                <span style="white-space:pre-wrap;"><span   > dans le répertoire des échantillons vous montre comment traverser la représentation d'un JAXB docx.</span></span></span>
            </p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >Une chose au sujet ennuyeux JAXB, est un objet-dire un tableau peut être représenté comme </span></span></span>
                <span class="notranslate" style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">org.docx4j.wml.Tbl</span>
                <span style="white-space:pre-wrap;"><span   > (Comme on peut s'y attendre).</span> <span  >Ou il pourrait être enveloppé dans un </span></span></span>
                <span class="notranslate" style="font-weight: bold;color: #000000;font-family: Consolas;font-size: 9.0pt;">javax.xml.bind.JAXBElement</span><span   >Dans ce cas, pour obtenir la vraie table, vous avez à faire quelque chose comme:</span></span></p>

            <p class="Normal DocDefaults notranslate " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">if </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">( ((JAXBElement)o).getDeclaredType().getName().equals(</span>
                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">"org.docx4j.wml.Tbl"</span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">) ) </span>
                </span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;"><span   >tbl = org.docx4j.wml.Tbl (org.docx4j.wml.Tbl) ((JAXBElement) o). getValue ();</span></span></span>
            </p>

            <p class="Normal DocDefaults ">

            </p><p class="Heading1 Normal DocDefaults ">
                <span style="font-family: Calibri;"><span   >Création d'une nouvelle docx</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0.07in;line-height: 100%;"><span   >Pour créer une nouvelle docx:</span></span></p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;"><span   >/ / Créer le package</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage.createPackage();</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">

            </p><p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;"><span   >/ / Sauvegarde</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="font-family: Consolas;font-size: 9.0pt;">wordMLPackage.save(new java.io.File("helloworld.docx") );</span>
            </p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="white-space:pre-wrap;"><span   >C'est tout.  </span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;" class="notranslate">
                    <span style="white-space:pre-wrap;">createPackage() </span>
                </span><span   >est une méthode commode, qui ne:</span></span></p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;"><span   >/ / Créer le package</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;" class="notranslate">WordprocessingMLPackage wordMLPackage = new WordprocessingMLPackage();</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;"><span   >/ / Création de la partie du document principal (word / document.xml)</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="font-family: Consolas;font-size: 9.0pt;">MainDocumentPart wordDocumentPart = new MainDocumentPart();</span>
            </p>


            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;"><span   >/ / Créer un contenu principale partie du document</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">ObjectFactory factory = Context.getWmlObjectFactory();</span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">org.docx4j.wml.Body body = factory .createBody();</span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">org.docx4j.wml.Document wmlDocumentEl = factory .createDocument();</span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">wmlDocumentEl.setBody(body);</span>
            </p>


            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;"><span   >/ / Mettez le contenu dans la partie</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">wordDocumentPart.setJaxbElement(wmlDocumentEl);</span>
            </p>


            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;"><span   >/ / Ajoute la partie principale du document à l'ensemble des relations</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;"><span   >/ / (Le créer si nécessaire)</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">wmlPack.addTargetPart(wordDocumentPart);</span>
            </p>

            <p class="Heading1 Normal DocDefaults "><span   >Ajout d'un paragraphe de texte</span></span></p>

            <p class="Normal DocDefaults ">
                <span style="font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"><span   >MainDocumentPart </span></span></span>
                </span><span   >contient une méthode:</span></span></p>

            <p class="Normal DocDefaults notranslate">
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">public </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">org.docx4j.wml.P addStyledParagraphOfText(String styleId, String text)</span>
            </p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Vous pouvez utiliser cette méthode pour ajouter un paragraphe à l'aide du style spécifié.</span></span></p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Le XML nous cherchons à créer sera quelque chose comme:</span></span></p>
            
<div class="notranslate">            

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&lt;</span>
                <span class="xmlmarkuptagname DefaultParagraphFont " style="color: #A31515;font-family: Consolas;font-size: 8.5pt;">
                    <span style="white-space:pre-wrap;">w:p </span>
                </span>
                <span class="apple-converted-space DefaultParagraphFont " style="color: #000000;font-family: Consolas;font-size: 8.5pt;"> </span>
                <span class="xmlmarkupattributename DefaultParagraphFont " style="color: #FF0000;font-family: Consolas;font-size: 8.5pt;">xmlns:w</span>
                <span class="xmlmarkupattributevalue DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">="http://schemas.openxmlformats.org/wordprocessingml/2006/main"</span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&gt;</span>
                <span style="color: #000000;font-family: Consolas;font-size: 8.5pt;">
                    <br clear="all">
                </span>
                <span class="apple-style-span DefaultParagraphFont " style="color: #000000;font-family: Consolas;font-size: 8.5pt;">    </span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&lt;</span>
                <span class="xmlmarkuptagname DefaultParagraphFont " style="color: #A31515;font-family: Consolas;font-size: 8.5pt;">w:r</span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&gt;</span>
                <span style="color: #000000;font-family: Consolas;font-size: 8.5pt;">
                    <br clear="all">
                </span>
                <span class="apple-style-span DefaultParagraphFont " style="color: #000000;font-family: Consolas;font-size: 8.5pt;">        </span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&lt;</span>
                <span class="xmlmarkuptagname DefaultParagraphFont " style="color: #A31515;font-family: Consolas;font-size: 8.5pt;">w:t</span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&gt;</span>
                <span class="apple-style-span DefaultParagraphFont " style="color: #000000;font-family: Consolas;font-size: 8.5pt;">Hello world</span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&lt;/</span>
                <span class="xmlmarkuptagname DefaultParagraphFont " style="color: #A31515;font-family: Consolas;font-size: 8.5pt;">w:t</span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&gt;</span>
                <span style="color: #000000;font-family: Consolas;font-size: 8.5pt;">
                    <br clear="all">
                </span>
                <span class="apple-style-span DefaultParagraphFont " style="color: #000000;font-family: Consolas;font-size: 8.5pt;">    </span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&lt;/</span>
                <span class="xmlmarkuptagname DefaultParagraphFont " style="color: #A31515;font-family: Consolas;font-size: 8.5pt;">w:r</span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&gt;</span>
                <span style="color: #000000;font-family: Consolas;font-size: 8.5pt;">
                    <br clear="all">
                </span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&lt;/</span>
                <span class="xmlmarkuptagname DefaultParagraphFont " style="color: #A31515;font-family: Consolas;font-size: 8.5pt;">w:p</span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&gt;</span>
            </p>

</div>
            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"><span   >addStyledParagraphOfText </span></span></span>
                </span><span   >construit la structure de l'objet comme JAXB, et il ajoute le document.</span></span></p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">ObjectFactory factory = Context.getWmlObjectFactory();</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;"><span   >/ / Création de l'alinéa</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">org.docx4j.wml.P  para = factory.createP();</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;"><span   >/ / Créer le texte de l'élément</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">org.docx4j.wml.Text  t = factory.createText();</span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">t.setValue(simpleText);</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;"><span   >/ / Création de la course</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">org.docx4j.wml.R  run = factory.createR();</span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">run.getRunContent().add(t);    </span>
                </span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">para.getParagraphContent().add(run);</span>
            </p>
            
            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;"><span   >/ / Maintenant, ajoutez à notre point le corps du document</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">Body body = this.jaxbElement.getBody();</span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">Body.getEGBlockLevelElts().add(para)</span>
            </p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Alternativement, vous pouvez créer le point de triage par XML:</span></span></p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;"><span   >/ / En supposant une chaîne XML qui contient le code XML ci-dessus</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">org.docx4j.wml.P  para = XmlUtils.unmarshalString(xml);</span>
            </p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Pour que cela fonctionne, vous devez vous assurer que tous les espaces de noms sont déclarés correctement dans la chaîne.</span></span></p>

            <p class="Heading1 Normal DocDefaults "><span   >Ajout d'une partie</span></span></p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Que faire si vous voulez ajouter une nouvelle partie des styles?</span> <span  >Voici comment:</span></span></p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;"><span   >/ / Création d'une partie des styles</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">StyleDefinitionsPart stylesPart = </span>
                </span>
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">new </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">StyleDefinitionsPart();</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;"><span   >/ / Le remplir avec des styles par défaut</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">stylesPart.unmarshalDefaultStyles();</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;"><span   >/ / Ajoute la partie des styles à la partie du document principal des relations</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">wordDocumentPart.addTargetPart(stylesPart);</span>
            </p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Vous souhaitez adopter la même approche pour ajouter un en-tête ou pied de page.</span></span></p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Lorsque vous ajoutez une partie de cette façon, il est automatiquement ajouté à la partie des relations source fait partie.</span></span></p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >En général, vous aurez également besoin d'ajouter une référence à la partie (en utilisant son id relation) à la partie principale du document.</span> <span  >Ceci s'applique aux images, en-têtes et pieds de page.</span> <span  >(Les commentaires, les notes et les notes sont un peu différentes, en ce que ce que vous ajoutez à la partie principale du document sont des références à des commentaires individuels / notes / notes de fin).</span></span></p>

            <p class="Heading1 Normal DocDefaults ">
                <span style="font-family: Calibri;"><span   >docx (X) HTML</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span class="notranslate">docx4j</span><span   > utilise XSLT pour transformer un docx en XHTML:</span></span></p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Courier New;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">AbstractHtmlExporter exporter = </span>
                </span>
                <span style="font-weight: bold;color: #7F0055;font-family: Courier New;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">new </span>
                </span>
                <span style="color: #000000;font-family: Courier New;font-size: 9.0pt;">HtmlExporterNG2();</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #3F7F5F;font-family: Courier New;font-size: 9.0pt;"><span   >/ / Noter l'* 2 * il</span></span></span>
            </p>


            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;"><span   >/ / Ecrire à StreamResult (dans ce cas, un flux de sortie)</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Courier New;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">OutputStream os = </span>
                </span>
                <span style="font-weight: bold;color: #7F0055;font-family: Courier New;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">new </span>
                </span>
                <span style="color: #000000;font-family: Courier New;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">java.io.FileOutputStream(inputfilepath + </span>
                </span>
                <span style="color: #2A00FF;font-family: Courier New;font-size: 9.0pt;">".html"</span>
                <span style="color: #000000;font-family: Courier New;font-size: 9.0pt;">);</span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Courier New;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">javax.xml.transform.stream.StreamResult result </span>
                </span>
                <span style="color: #000000;font-family: Courier New;font-size: 9.0pt;">
                    <br clear="all">
                </span>
                <span style="color: #FFFFFF;font-family: Courier New;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #000000;font-family: Courier New;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">= </span>
                </span>
                <span style="font-weight: bold;color: #7F0055;font-family: Courier New;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">new </span>
                </span>
                <span style="color: #000000;font-family: Courier New;font-size: 9.0pt;">javax.xml.transform.stream.StreamResult(os);</span>
            </p>


            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Courier New;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">exporter.html(wordMLPackage, result, </span>
                </span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Courier New;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">inputfilepath + </span>
                </span>
                <span style="color: #2A00FF;font-family: Courier New;font-size: 9.0pt;">"_files"</span>
                <span style="color: #000000;font-family: Courier New;font-size: 9.0pt;">);</span>
            </p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Vous trouverez le code HTML généré est propre.</span></span></p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span class="notranslate">docx4j</span><span   > utilise des fonctions d'extension XSLT Java pour faire le levage de charges lourdes, de sorte que le XSLT est lui-même reste simple.</span></span></p>

            <p class="Heading1 Normal DocDefaults ">
                <span style="font-family: Calibri;"><span   >docx au format PDF</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span class="notranslate">docx4j</span><span   > produit XSL FO, qui peut à son tour être utilisé pour créer un fichier PDF.</span></span></p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >À l'heure actuelle, Apache FOP est intégré dans </span></span><span class="notranslate">docx4j</span><span   > pour créer le PDF.</span> <span  >(Bientôt, nous allons changer les choses pour que </span></span><span class="notranslate">docx4j</span><span   > génère destinés à être utilisés par votre préféré pour moteur de rendu, qu'il s'agisse de FOP, ou un outil commercial comme XEP).</span></span></p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Pour créer un PDF:</span></span></p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;"><span   >/ / L'identité Polices meilleure cartographie sur Microsoft Windows</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">wordMLPackage.setFontMapper(</span>
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">new </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">IdentityPlusMapper());</span>
            </p>


            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;"><span   >/ / Définit le convertisseur</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">org.docx4j.convert.out.pdf.PdfConversion c </span>
                </span>
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;">
                    <br clear="all">
                </span>
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">= </span>
                </span>
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">new </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">org.docx4j.convert.out.pdf.viaXSLFO.Conversion(wordMLPackage);</span>
            </p>


            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;"><span   >/ / Écrire sur la sortie courant</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">OutputStream os = </span>
                </span>
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">new </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">java.io.FileOutputStream(inputfilepath + </span>
                </span>
                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">".pdf"</span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">);      </span>
                </span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">c.output(os);</span>
            </p>

            <p class="Heading1 Normal DocDefaults ">
                <span style="font-family: Calibri;"><span   >Image Manipulation</span></span></span>
            </p>

            <p class="Normal DocDefaults "><span   >Lorsque vous ajoutez une image à un document dans Word 2007, il est généralement ajouté une nouvelle partie (c.-à-vous trouver un rôle dans la docx résultant, contenant l'image en format base 64).</span></span></p>

            <p class="Normal DocDefaults "><span   >Lorsque vous ouvrez le document dans </span></span><span class="notranslate">docx4j</span><span   >, </span></span><span class="notranslate">docx4j</span><span   > will create an image part representing it.</span></span></p>

            <p class="Normal DocDefaults "><span   >Il est également possible de créer une image liée.</span> <span  >Dans ce cas, l'image n'est pas inclus dans le package docx, mais plutôt, est référencé à son emplacement externe.</span></span></p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span class="notranslate">docx4j</span><span   >»S </span></span></span>
                <span class="notranslate" style="font-weight: bold;color: #000000;font-family: Consolas;font-size: 10.0pt;">BinaryPartAbstractImage</span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span><span   >classe contient des méthodes pour vous permettre de créer à la fois liés et incorporés images (ainsi que des relations appropriées).</span></span></p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >/ **</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"><span   >* Créer un cadre image à partir du tableau d'octets à condition, l'attacher à la </span></span></span>
                </span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >* Une partie du document principal, et le retourner .* /</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">public static </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">BinaryPartAbstractImage createImagePart(WordprocessingMLPackage wordMLPackage,</span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">byte</span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">[] bytes) </span>
                </span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >/ **</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >* Créer un cadre image à partir du tableau d'octets fournis, attachez-le à la source une partie</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >* (Par exemple, la partie du document principal, une partie en-tête, etc), et le retourner .* /</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">public static </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">BinaryPartAbstractImage createImagePart(WordprocessingMLPackage wordMLPackage,</span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">Part sourcePart, </span>
                </span>
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">byte</span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">[] bytes) </span>
                </span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">

            </p><p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >/ **</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >* Créer un cadre image liée, et l'attacher comme un rel de la source de partie déterminée</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >* (Par exemple une partie en-tête)</span></span></span>
                <span style="font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >* /</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">public static </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">BinaryPartAbstractImage createLinkedImagePart(</span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <br clear="all">
                </span>
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">WordprocessingMLPackage wordMLPackage, Part sourcePart, String fileurl) </span>
                </span>
            </p>

            <p class="Normal DocDefaults ">

            </p><p class="Normal DocDefaults "><span   >Pour une image à figurer dans le document, il doit également être XML appropriées dans la partie du document principal.</span> <span  >Ce XML peut prendre 2 formes de base:</span></span></p>


            <p class="ListParagraph Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span>
                <span style="white-space:pre-wrap;"><span   >l'Word 2007 </span></span></span>
                <span style="font-weight: bold;color: #800000;font-family: Consolas;"><span   >W: le dessin</span></span></span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span><span   >sous forme</span></span></p>
<div class="notranslate">
            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">

            </p><p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">&lt;w:p&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   &lt;w:r&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   &lt;w:drawing&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   <span style="white-space:pre-wrap;">&lt;wp:inline </span>
                </span>
                <span style="color: #FF0000;font-family: Consolas;font-size: 9.0pt;">distT</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">="0" </span>
                </span>
                <span style="color: #FF0000;font-family: Consolas;font-size: 9.0pt;">distB</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">="0" </span>
                </span>
                <span style="color: #FF0000;font-family: Consolas;font-size: 9.0pt;">distL</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">="0" </span>
                </span>
                <span style="color: #FF0000;font-family: Consolas;font-size: 9.0pt;">distR</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">="0"</span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   <span style="white-space:pre-wrap;">&lt;wp:extent </span>
                </span>
                <span style="color: #FF0000;font-family: Consolas;font-size: 9.0pt;">cx</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">="3238500" </span>
                </span>
                <span style="color: #FF0000;font-family: Consolas;font-size: 9.0pt;">cy</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">="2362200" /</span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   <span style="white-space:pre-wrap;">&lt;wp:effectExtent </span>
                </span>
                <span style="color: #FF0000;font-family: Consolas;font-size: 9.0pt;">l</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">="19050" </span>
                </span>
                <span style="color: #FF0000;font-family: Consolas;font-size: 9.0pt;">t</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">="0" </span>
                </span>
                <span style="color: #FF0000;font-family: Consolas;font-size: 9.0pt;">r</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">="0" </span>
                </span>
                <span style="color: #FF0000;font-family: Consolas;font-size: 9.0pt;">b</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">="0" /</span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   :</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   &lt;a:graphic &gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   <span style="white-space:pre-wrap;">&lt;a:graphicData </span>
                </span>
                <span style="color: #FF0000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"> ..</span>
                </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   &lt;pic:pic &gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   :</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   &lt;pic:blipFill&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   &lt;</span>
                <span style="font-weight: bold;color: #800000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">a:blip </span>
                </span>
                <span style="font-weight: bold;color: #FF0000;font-family: Consolas;font-size: 9.0pt;">r:embed</span>
                <span style="font-weight: bold;color: #0000FF;font-family: Consolas;font-size: 9.0pt;">="rId5"</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"> /</span>
                </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   :</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   &lt;</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">/</span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">pic:blipFill&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   :</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   &lt;</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">/</span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">pic:pic&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   &lt;</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">/</span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">a:graphicData&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   &lt;</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">/</span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">a:graphic&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   &lt;</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">/</span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">wp:inline&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   &lt;</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">/</span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">w:drawing&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   &lt;</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">/</span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">w:r&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   &lt;</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">/</span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">w:p&gt;</span>
            </p>
</div>
            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">

            </p><p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span>
                <span style="white-space:pre-wrap;"><span   >Word 2003 VML fondée sur </span></span></span>
                <span style="font-weight: bold;color: #800000;font-family: Consolas;"><span   >w: PICT</span></span></span>
                <span style="white-space:pre-wrap;"><span   > forme</span></span></span>
            </p>
<div class="notranslate">
            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">&lt;w:p&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   &lt;w:r&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   &lt;w:pict&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   <span style="white-space:pre-wrap;">&lt;v:shapetype </span>
                </span>
                <span style="color: #FF0000;font-family: Consolas;font-size: 9.0pt;">id</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">="_x0000_t75" </span>
                </span>
                <span style="color: #FF0000;font-family: Consolas;font-size: 9.0pt;">coordsize</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">="21600,21600" </span>
                </span>
                <span style="color: #FF0000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"> .. </span>
                </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   <span style="white-space:pre-wrap;">&lt;v:stroke </span>
                </span>
                <span style="color: #FF0000;font-family: Consolas;font-size: 9.0pt;">joinstyle</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">="miter" /</span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   &lt;v:formulas&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   :</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   &lt;</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">/</span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">v:formulas&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   :</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   &lt;</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">/</span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">v:shapetype&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   <span style="white-space:pre-wrap;">&lt;v:shape </span>
                </span>
                <span style="color: #FF0000;font-family: Consolas;font-size: 9.0pt;">..</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #FF0000;font-family: Consolas;font-size: 9.0pt;">style</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">="width:428.25pt;height:321pt"</span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   &lt;</span>
                <span style="font-weight: bold;color: #800000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">v:imagedata </span>
                </span>
                <span style="font-weight: bold;color: #FF0000;font-family: Consolas;font-size: 9.0pt;">r:id</span>
                <span style="font-weight: bold;color: #0000FF;font-family: Consolas;font-size: 9.0pt;">="rId4"</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #FF0000;font-family: Consolas;font-size: 9.0pt;">o:title</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">="" /</span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">   &lt;</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 9.0pt;">/</span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">v:shape&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="font-family: Consolas;font-size: 12.0pt;">   </span>
                <span style="font-family: Consolas;font-size: 12.0pt;">   </span>
                <span style="font-family: Consolas;font-size: 12.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">&lt;</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 10.0pt;">/</span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">w:pict&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   &lt;</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 10.0pt;">/</span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">w:r&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   &lt;</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 10.0pt;">/</span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">w:p&gt;</span>
            </p>
</div>
            <p class="Normal DocDefaults ">

            </p><p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span class="notranslate">docx4j</span><span   > peut créer le Word 2007 </span></span></span>
                <span style="font-weight: bold;color: #800000;font-family: Consolas;"><span   >w: dessin / wp: inline</span></span></span>
                <span style="color: #800000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span><span   >formulaire pour vous:</span></span></p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >/ **</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"><span   >* Create a </span></span></span>
                </span>
                <span style="color: #7F7F9F;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"><span   >&lt;wp:inline&gt; </span></span></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >element suitable for this image,</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >* Qui peuvent être liés ou incorporés dans w: p / w: R / W: le dessin.</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >* If the image is wider than the page, it will be scaled</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >* Automatiquement.</span> <span  >Voir Javadoc pour les signatures d'autres.</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"><span   >* </span></span></span>
                </span>
                <span style="color: #7F9FBF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"><span   >@ param </span></span></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >filenameHint Tout texte, par exemple le nom du fichier original</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"><span   >* </span></span></span>
                </span>
                <span style="color: #7F9FBF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"><span   >@ param </span></span></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >alttext Comme alt texte HTML</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"><span   >* </span></span></span>
                </span>
                <span style="color: #7F9FBF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"><span   >@ param </span></span></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >id1 un identifiant unique dans le document</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"><span   >* </span></span></span>
                </span>
                <span style="color: #7F9FBF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"><span   >@ param </span></span></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >id id2 autre unique dans le document</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"><span   >* </span></span></span>
                </span>
                <span style="color: #7F9FBF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"><span   >@ param </span></span></span>
                </span>
                <span style="font-weight: bold;color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >lien</span></span></span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"><span   >  vrai si ce n'est d'être </span></span></span>
                </span>
                <span style="font-weight: bold;color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >lié non incorporé</span></span></span>
                <span style="font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >* /</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">public </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">Inline createImageInline(String filenameHint, String altText, </span>
                </span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">int </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">id1, </span>
                </span>
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">int </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">id2, </span>
                </span>
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">boolean </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">link) </span>
                </span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">

            </p><p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >que vous pouvez ensuite ajouter à un </span></span></span>
                <span style="font-weight: bold;color: #800000;font-family: Consolas;"><span   >w: R / W: le dessin.</span></span></span>
            </p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >Enfin, avec </span></span><span class="notranslate">docx4j</span><span   >, Vous pouvez convertir des images de formats non pris en charge par Word (par exemple PDF), en PNG, qui est un format pris en charge.</span> <span  >Pour cela, </span></span><span class="notranslate">docx4j</span><span   > utilise </span></span></span>
                <span style="font-weight: bold;"><span   >ImageMagick</span></span></span><span   >.</span> <span  >Donc, si vous souhaitez utiliser cette fonctionnalité, vous devez installer ImageMagick.  </span></span><span class="notranslate">docx4j</span><span   > ImageMagick invoque l'aide:</span></span></p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #000000;font-family: Consolas;font-size: 8.0pt;">
                    <span style="white-space:pre-wrap;"> Process p = Runtime.getRuntime().exec(</span>
                </span>
                <span style="color: #2A00FF;font-family: Consolas;font-size: 8.0pt;">
                    <span style="white-space:pre-wrap;">"imconvert -density " </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 8.0pt;">
                    <span style="white-space:pre-wrap;">+ density + </span>
                </span>
                <span style="color: #2A00FF;font-family: Consolas;font-size: 8.0pt;">" -units PixelsPerInch - png:-"</span>
                <span style="color: #000000;font-family: Consolas;font-size: 8.0pt;">);</span>
                <span style="color: #000000;font-family: Consolas;font-size: 8.0pt;">
                    <br clear="all">
                </span>
            </p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >Notez le nom </span></span></span>
                <span style="font-weight: bold;"><span   >imconvert</span></span></span>
                <span style="white-space:pre-wrap;"><span   >, qui est utilisé de sorte que nous n'avons pas de fournir un chemin d'accès complet à exec.</span> <span  >Vous devrez en tenir compte.  </span></span></span>
            </p>

            <p class="Heading1 Normal DocDefaults ">
                <span style="font-family: Calibri;"><span   >extraction de texte</span></span></span>
            </p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >Un moyen rapide pour extraire le texte d'un docx, est d'utiliser </span></span></span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"><span   >textutils   </span></span></span>
                </span>
            </p>

            <p class="Normal DocDefaults notranslate">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">public static void </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">extractText(Object o, Writer w)</span>
            </p>

            <p class="Normal DocDefaults "><span   >qui maréchaux de l'objet, il est passé par un ContentHandler SAX, afin d'afficher le texte de l'écrivain.</span></span></p>

            <p class="Heading1 Normal DocDefaults ">
                <span style="font-family: Calibri;"><span   >substitution de texte</span></span></span>
            </p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >substitution de texte est assez facile, à condition que la chaîne que vous recherchez est représenté dans un </span></span></span>
                <span style="font-weight: bold;font-family: Consolas;">
                    <span style="white-space:pre-wrap;"><span   >org.docx4j.wml.Text </span></span></span>
                </span><span   >objet dans le formulaire que vous attendez.</span></span></p>

            <p class="Normal DocDefaults "><span   >Toutefois, ce ne sera pas nécessairement le cas.</span> <span  >La chaîne pourrait être brisé dans le texte court pour l'une des raisons suivantes:</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >une partie du mot est formaté différemment (par exemple en gras)</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >orthographe / grammaire</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Afin d'édition (rsid)</span></span></p>

            <p class="Normal DocDefaults "><span class="notranslate">docx4j</span><span   > éventuellement tenir compte de ces cas, mais ne pas pour le moment.</span></span></p>

            <p class="Normal DocDefaults "><span   >Sous cette réserve, vous pouvez faire substitution de texte dans une variété de façons, par exemple:</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span>
                <span style="white-space:pre-wrap;"><span   >traversant la partie du document principal, et en regardant les </span></span></span>
                <span style="font-weight: bold;font-family: Consolas;">
                    <span style="white-space:pre-wrap;" class="notranslate">org.docx4j.wml.Text </span>
                </span><span   >objets</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span>
                <span style="white-space:pre-wrap;"><span   >maréchal à une chaîne de caractères, recherche / remplacement en ce que, puis à nouveau unmarshall </span></span></span>
            </p>

            <p class="Normal DocDefaults "><span class="notranslate">docx4j</span><span   > s XmlUtils contient également:</span></span></p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >/ **</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >* Donnez une chaîne de WML contenant $ () key1, $ () cle2, retourner une appropriés</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >* Objet .* /</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">public static </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">Object unmarshallFromTemplate(String wmlTemplateString, </span>
                </span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"><span   >java.util.HashMap &lt;String, string&gt; mappings) </span></span></span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <br clear="all">
                </span>
            </p>

            <p class="Normal DocDefaults "><span   >Voir l'exemple UnmarshallFromTemplate, qui fonctionne sur une chaîne de caractères contenant:</span></span></p>
<div class="notranslate">
            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="font-family: Consolas;font-size: 12.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">&lt;w:p&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   &lt;w:r&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   &lt;w:t&gt;</span>
                <span style="color: #000000;font-family: Consolas;font-size: 10.0pt;">
                    <span style="white-space:pre-wrap;">My favourite colour is </span>
                </span>
                <span style="font-weight: bold;color: #000000;font-family: Consolas;font-size: 10.0pt;">${colour}</span>
                <span style="color: #000000;font-family: Consolas;font-size: 10.0pt;">.</span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">&lt;</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 10.0pt;">/</span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">w:t&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   &lt;</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 10.0pt;">/</span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">w:r&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   &lt;</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 10.0pt;">/</span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">w:p&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   <span style="white-space:pre-wrap;">&lt;w:p </span>
                </span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 10.0pt;">/</span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   &lt;w:p&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   &lt;w:r&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   &lt;w:t&gt;</span>
                <span style="color: #000000;font-family: Consolas;font-size: 10.0pt;">
                    <span style="white-space:pre-wrap;">My favourite ice cream is </span>
                </span>
                <span style="font-weight: bold;color: #000000;font-family: Consolas;font-size: 10.0pt;">${icecream}</span>
                <span style="color: #000000;font-family: Consolas;font-size: 10.0pt;">.</span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">&lt;</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 10.0pt;">/</span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">w:t&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   </span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   &lt;</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 10.0pt;">/</span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">w:r&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">   &lt;</span>
                <span style="color: #0000FF;font-family: Consolas;font-size: 10.0pt;">/</span>
                <span style="color: #800000;font-family: Consolas;font-size: 10.0pt;">w:p&gt;</span>
            </p>
</div>
            <p class="Heading1 Normal DocDefaults ">
                <span style="font-family: Calibri;"><span   >Trucs et astuces</span></span></span>
            </p>

            <p class="Heading2 Normal DocDefaults "><span   >Travailler avec le format plat OPC XML </span></span></p>

            <p class="Normal DocDefaults "><span   >Lorsque vous voulez regarder à l'intérieur d'un document docx, c'est un peu d'une douleur d'avoir à le décompresser pour regarder la partie concernée.</span></span></p>

            <p class="Normal DocDefaults "><span   >Il ya 2 façons de contourner cela.</span></span></p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >On est </span></span></span>
                <a class="notranslate" href="http://www.codeplex.com/PackageExplorer">
                    <span style="color: #0000FF;text-decoration: none;">http://www.codeplex.com/PackageExplorer</span>
                </a><span   >, Qui peut décompresser les docx, et jolie imprimer une partie.</span></span></p>

            <p class="Normal DocDefaults "><span   >Une autre est de sauver le docx en tant que Word document XML (*. xml).</span> <span  >Cela produit un seul fichier XML, que vous pouvez ouvrir dans un éditeur XML tel que XPontus.</span></span></p>

            <p class="Normal DocDefaults "><span class="notranslate">docx4j</span><span   > pouvez ouvrir des fichiers XML OPC plat, et mettre à leur disposition.</span></span></p>

            <p class="Normal DocDefaults "><span   >Pour ouvrir un fichier plat OPC XML:</span></span></p>

            <p class="Command NormalWeb Normal DocDefaults notranslate" style="position: relative; margin-left: 0in;">   <span style="white-space:pre-wrap;">WordprocessingMLPackage wordMLPackage = </span>
                <br clear="all">      WordprocessingMLPackage.load(new java.io.File(inputfilepath));</p>

            <p class="Normal DocDefaults "><span   >Pour enregistrer en tant que plat OPC XML:</span></span></p>

            <p class="Command NormalWeb Normal DocDefaults notranslate" style="position: relative; margin-left: 0in;">   wordMLPackage.save(new java.io.File(outputfilepath));</p>

            <p class="Normal DocDefaults "><span   >Dans les deux cas, le code Flat OPC sera utilisé si et seulement si l'extension de fichier est. Xml.</span></span></p>

            <p class="Heading2 Normal DocDefaults ">

            </p><p class="Heading2 Normal DocDefaults "><span   >Rappelez-vous UnmarshalFromString</span></span></p>

            <p class="Normal DocDefaults "><span   >Lorsque vous manipulez des documents docx, il est souvent utile d'extraits de désorganiser XML (par exemple une String représentant un paragraphe à insérer dans le document).</span></span></p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Par exemple, étant donné:</span></span></p>

            <p class="Normal DocDefaults notranslate" style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&lt;</span>
                <span class="xmlmarkuptagname DefaultParagraphFont " style="color: #A31515;font-family: Consolas;font-size: 8.5pt;">
                    <span style="white-space:pre-wrap;">w:p </span>
                </span>
                <span class="apple-converted-space DefaultParagraphFont " style="color: #000000;font-family: Consolas;font-size: 8.5pt;"> </span>
                <span class="xmlmarkupattributename DefaultParagraphFont " style="color: #FF0000;font-family: Consolas;font-size: 8.5pt;">xmlns:w</span>
                <span class="xmlmarkupattributevalue DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">="http://schemas.openxmlformats.org/wordprocessingml/2006/main"</span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&gt;</span>
                <span style="color: #000000;font-family: Consolas;font-size: 8.5pt;">
                    <br clear="all">
                </span>
                <span class="apple-style-span DefaultParagraphFont " style="color: #000000;font-family: Consolas;font-size: 8.5pt;">    </span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&lt;</span>
                <span class="xmlmarkuptagname DefaultParagraphFont " style="color: #A31515;font-family: Consolas;font-size: 8.5pt;">w:r</span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&gt;</span>
                <span style="color: #000000;font-family: Consolas;font-size: 8.5pt;">
                    <br clear="all">
                </span>
                <span class="apple-style-span DefaultParagraphFont " style="color: #000000;font-family: Consolas;font-size: 8.5pt;">        </span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&lt;</span>
                <span class="xmlmarkuptagname DefaultParagraphFont " style="color: #A31515;font-family: Consolas;font-size: 8.5pt;">w:t</span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&gt;</span>
                <span class="apple-style-span DefaultParagraphFont " style="color: #000000;font-family: Consolas;font-size: 8.5pt;">Hello world</span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&lt;/</span>
                <span class="xmlmarkuptagname DefaultParagraphFont " style="color: #A31515;font-family: Consolas;font-size: 8.5pt;">w:t</span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&gt;</span>
                <span style="color: #000000;font-family: Consolas;font-size: 8.5pt;">
                    <br clear="all">
                </span>
                <span class="apple-style-span DefaultParagraphFont " style="color: #000000;font-family: Consolas;font-size: 8.5pt;">    </span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&lt;/</span>
                <span class="xmlmarkuptagname DefaultParagraphFont " style="color: #A31515;font-family: Consolas;font-size: 8.5pt;">w:r</span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&gt;</span>
                <span style="color: #000000;font-family: Consolas;font-size: 8.5pt;">
                    <br clear="all">
                </span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&lt;/</span>
                <span class="xmlmarkuptagname DefaultParagraphFont " style="color: #A31515;font-family: Consolas;font-size: 8.5pt;">w:p</span>
                <span class="xmlmarkupbracket DefaultParagraphFont " style="color: #0000FF;font-family: Consolas;font-size: 8.5pt;">&gt;</span>
            </p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >il vous suffit de:</span></span></p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;"><span   >/ / En supposant une chaîne XML qui contient le code XML ci-dessus</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">org.docx4j.wml.P  para = XmlUtils.unmarshalString(xml);</span>
            </p>

            <p class="Heading2 Normal DocDefaults "><span   >Clonage</span></span></p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Pour cloner un objet JAXB, appliquez l'une des méthodes suivantes en respectant XmlUtils:</span></span></p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"><span   >/ ** Clone cet objet JAXB, en utilisant JAXBContext défaut.</span> <span  >* / </span></span></span>
                </span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">public static </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">&lt;T&gt; T deepCopy(T value) </span>
                </span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >/ ** * Cette Clone objet JAXB /</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">public static </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">&lt;T&gt; T deepCopy(T value, JAXBContext jc) </span>
                </span>
            </p>

            <p class="Heading2 Normal DocDefaults notranslate">
                <span style="font-family: Consolas;">@XmlRootElement</span>
            </p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >La plupart des objets couramment utilisés ont une </span></span></span>
                <span style="font-weight: bold;font-family: Consolas;">
                    <span style="white-space:pre-wrap;"><span   >XmlRootElement @ </span></span></span>
                </span>
                <span style="white-space:pre-wrap;"><span   >annotation, afin qu'ils puissent être rassemblés et unmarshalled.  </span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="white-space:pre-wrap;"><span   >Dans certains cas, vous pourriez trouver cette annotation est manquant.  </span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="white-space:pre-wrap;"><span   >Si vous ne pouvez pas ajouter l'annotation à la source de JAXB, le code d'une autre solution consiste à </span></span></span>
                <span style="text-decoration: none;"><span   >Marshall</span></span></span>
                <span style="white-space:pre-wrap;"><span   > en utilisant le code qui est explicite sur le QName qui en résultent.</span> <span  >Par exemple, XmlUtils contient:</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >/ ** Maréchal à un document du W3C, pour objet</span></span></span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F5FBF;font-family: Consolas;font-size: 9.0pt;"><span   >* Manque une annotation @ XmlRootElement.</span> <span  >* /</span></span></span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">public static </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">org.w3c.dom.Document marshaltoW3CDomDocument(Object o, JAXBContext jc,</span>
                <span style="font-family: Consolas;font-size: 9.0pt;">
                    <br clear="all">
                </span>
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">String uri, String local, Class declaredType) </span>
                </span>
            </p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Vous pouvez utiliser cette façon:</span></span></p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">CTFootnotes footnotes = </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <br clear="all">
                </span>
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">wmlPackage.getMainDocumentPart().getFootnotesPart().getJaxbElement().getValue();</span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">CTFtnEdn ftn = footnotes.getFootnote().get(1);</span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
            </p>

            <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #3F7F5F;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"><span   >/ / N @ XmlRootElement sur CTFtnEdn alors .. </span></span></span>
                </span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">Document d = XmlUtils.marshaltoW3CDomDocument( ftn,</span>
            </p>

            <p class="Normal DocDefaults notranslate" style="space-after: 0in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">Context.jc, Namespaces.NS_WORD12, </span>
                </span>
                <span style="color: #2A00FF;font-family: Consolas;font-size: 9.0pt;">"footnote"</span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">,  CTFtnEdn.</span>
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">class </span>
                </span>
                <span style="color: #000000;font-family: Consolas;font-size: 9.0pt;">);</span>
            </p>

            <p class="Normal DocDefaults " style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;"><span   >Si vous avez besoin pour désorganiser, vous pouvez utiliser:</span></span></p>

            <p class="Normal DocDefaults notranslate" style="space-before: 0.07in;space-after: 0.07in;line-height: 100%;">
                <span style="color: #FFFFFF;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;"></span>
                </span>
                <span style="font-weight: bold;color: #7F0055;font-family: Consolas;font-size: 9.0pt;">
                    <span style="white-space:pre-wrap;">public static </span>
                </span>
                <span class="apple-style-span DefaultParagraphFont " style="color: #000000;font-family: Consolas;font-size: 9.0pt;">Object unmarshalString(String str, JAXBContext jc, Class declaredType)</span>
            </p>

            <p class="Heading1 Normal DocDefaults ">
                <span style="font-family: Calibri;"><span   >Le </span></span><span class="notranslate">docx4j</span><span   > forum</span></span></span>
            </p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >soutien de la communauté libre est disponible dans les </span></span><span class="notranslate">docx4j</span><span   > forum, </span></span></span>
                <a class="notranslate" href="http://dev.plutext.org/forums/">
                    <span style="color: #0000FF;text-decoration: none;">http://dev.plutext.org/forums/</span>
                </a>
            </p>

            <p class="Normal DocDefaults "><span   >Cette discussion est généralement en anglais.</span> <span  >Si vous pouvez faire du bénévolat à modérer un forum dans votre langue, s'il vous plaît nous le faire savoir.</span></span></p>

            <p class="Heading1 Normal DocDefaults ">
                <span style="font-family: Calibri;"><span   >Autres options de soutien</span></span></span>
            </p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >Si le soutien de la communauté disponibles dans le </span></span><span class="notranslate">docx4j</span><span   > forum ne répond pas à vos besoins, ou vous souhaitez simplement d'externaliser certaines de codage, vous êtes les bienvenus à l'achat de programmation, de consultation et un soutien prioritaire de </span></span></span>
                <a class="notranslate" href="http://www.plutext.com/m/index.php/docx4j-support.html">
                    <span class="Hyperlink DefaultParagraphFont " style="font-family: Trebuchet MS;font-size: 10.0pt;">http://www.plutext.com/m/index.php/docx4j-support.html</span>
                </a>
            </p>

            <p class="Normal DocDefaults "><span   >En utilisant les services de Plutext, vous appuyer le développement continu des </span></span><span class="notranslate">docx4j</span><span   >.</span></span></p>

            <p class="Heading1 Normal DocDefaults ">
                <span style="font-family: Calibri;"><span   >Feuille de route</span></span></span>
            </p>

            <p class="Normal DocDefaults ">
                <span style="font-weight: bold;"><span   >Word 2010 de soutien.</span></span></span>
                <span style="white-space:pre-wrap;"><span   > Support pour les éléments XML nouvelles / schémas introduit avec Word 2010, et pour le mécanisme de compatibilité.</span> <span  >C'est la principale justification de l'étiquette 3.0.</span></span></span>
            </p>

            <p class="Normal DocDefaults ">
                <span style="font-weight: bold;"><span   >exportateurs HTML:</span></span></span>
                <span style="white-space:pre-wrap;"><span   > se débarrasser des anciens; normaliser le NG2.</span> <span  >L'idée est de supprimer toute «qui dois-je utiliser la« confusion, et concentrer les efforts et le savoir-faire. </span></span></span>
            </p>

            <p class="Normal DocDefaults ">
                <span style="font-weight: bold;"><span   >exportateurs PDF:</span></span></span>
                <span style="white-space:pre-wrap;"><span   > standardiser viaXSLFO, et se débarrasser des viaIText et viaHTML.</span> <span  >Comme en HTML, l'idée est de supprimer toute «qui dois-je utiliser la« confusion, et concentrer les efforts et le savoir-faire. </span></span><span class="notranslate">docx4j</span><span   > pourrait produire XSL Pour seulement, et compter sur l'utilisateur d'avoir FOP ou l'équivalent de produire effectivement le fichier PDF.</span> <span  >Cela permettra de réduire les dépendances, rendant </span></span><span class="notranslate">docx4j</span><span   > briquet.</span> <span  >L'objectif serait de retirer le récipient FOP (2,8 M), pot de rendu PDF (1,6 M), jar iText (1,1 M), et le noyau-rendu (1M).</span></span></span>
            </p>

            <p class="Normal DocDefaults ">
                <span style="font-weight: bold;"><span   >la gestion des polices:</span></span></span>
                <span style="white-space:pre-wrap;"><span   > retirer l'étoffe panose, nous n'avons donc pas besoin d'un FOP pot personnalisé. </span></span></span>
            </p>

            <p class="Normal DocDefaults ">
                <span style="font-weight: bold;"><span   >modèle de mise en page / format intermédiaire</span></span></span><span   >: </span></span><span class="notranslate">docx4j</span><span   > contient une DocumentModel, ce qui pourrait être développé à l'appui:</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Rechercher / Remplacer</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >Estimation de page de contenu</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span><span   >XSLT, en enfermant des sections, des listes</span></span></p>

            <p class="Normal DocDefaults ">
                <span style="font-weight: bold;"><span   >Insertion d'objets OLE</span></span></span><span   >: si les feuilles de calcul, PDF, etc peuvent être intégrées.</span></span></p>

            <p class="Heading1 Normal DocDefaults ">
                <span style="font-family: Calibri;"><span   >Empreinte</span></span></span>
            </p>

            <p class="Normal DocDefaults "><span   >Ce document a été écrit dans Word 2007, en utilisant:</span></span></p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span>
                <span style="white-space:pre-wrap;"><span   >XML joli imprimé à l'aide </span></span></span>
                <a class="notranslate" href="http://www.softlion.com/webTools/XmlPrettyPrint/default.aspx">
                    <span style="color: #0000FF;text-decoration: none;">http://www.softlion.com/webTools/XmlPrettyPrint/default.aspx</span>
                </a>
                <span style="white-space:pre-wrap;"><span   > Explorer le paquet ou</span></span></span>
            </p>

            <p class="ListParagraph Normal DocDefaults ">
                <span style="position: relative; margin-left: 0.5in;font-family: Symbol;"><span   >* </span></span></span>
                <span style="white-space:pre-wrap;"><span   >le code source Java formaté à l'aide </span></span></span>
                <a class="notranslate" href="http://www.java2html.de">
                    <span class="Hyperlink DefaultParagraphFont ">http://www.java2html.de</span>
                </a>
            </p>

            <p class="Normal DocDefaults "><span   >Le format PDF et HTML ont été générés à l'aide </span></span><span class="notranslate">docx4j</span><span   > (PDF via XSL FO et FOP).</span></span></p>

            <p class="Heading1 Normal DocDefaults ">
                <span style="font-family: Calibri;"><span   >Contacte Plutext</span></span></span>
            </p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >Sauf si vous avez payé pour le soutien, le général Comment puis-je questions type devraient être affichés directement à la </span></span></span>
                <a class="notranslate" href="http://dev.plutext.org/forums/">
                    <span class="Hyperlink DefaultParagraphFont "><span class="notranslate">docx4j</span> forum</span>
                </a><span   >.</span> <span  >Plutext peuvent poster sur le forum toutes les questions reçues par e-mail qui aurait dû être dirigé vers le forum.</span></span></p>

            <p class="Normal DocDefaults ">
                <span style="white-space:pre-wrap;"><span   >Plutext peut être contacté à deux </span></span></span>
                <a class="notranslate" href="mailto:jason@plutext.org">
                    <span class="Hyperlink DefaultParagraphFont ">jason@plutext.org</span>
                </a>
                <span style="white-space:pre-wrap;"><span   >Ou </span></span></span>
                <a class="notranslate" href="mailto:jharrop@plutext.com">
                    <span class="Hyperlink DefaultParagraphFont ">jharrop@plutext.com</span>
                </a>
            </p>

            <p class="Normal DocDefaults ">

            </p><div class="footnotes">

                <p class="Normal DocDefaults " style="space-after: 0in;line-height: 100%;">

                </p><p class="FootnoteText Normal DocDefaults ">
                    <span class="FootnoteReference DefaultParagraphFont ">
                        <span style="vertical-align: top; font-size: xx-small">
                            <a name="fn1">
                                </a><a class="notranslate" href="#fs1">1</a>
                            
                        </span>
                    </span>
                    <span style="white-space:pre-wrap;"></span>
                        <span class="Hyperlink DefaultParagraphFont notranslate">http://forums.java.net/jive/thread.jspa?threadID=411</span>
                </p>

                <p class="FootnoteText Normal DocDefaults ">
                    <span class="FootnoteReference DefaultParagraphFont ">
                        <span style="vertical-align: top; font-size: xx-small">
                            <a name="fn2">
                                </a><a href="#fs2"><span   >2</span></span></a>
                            
                        </span>
                    </span>
                    <span style="white-space:pre-wrap;"><span   > Si vous obtenez l'erreur "Accès restriction du: Le type</span></span></span>
                    <span class="apple-converted-space DefaultParagraphFont "> </span>
                    <span class="underline DefaultParagraphFont ">
                        <span style="white-space:pre-wrap;"><span   >n'est pas accessible en raison de restriction à la bibliothèque de rt.jar nécessaire »(peut-être en utilisant une combinaison d'Eclipse 3.4 et / ou JDK 6 update 10?), vous devez vous rendre dans la construction Chemin d'accès pour le projet, onglet Bibliothèques, sélectionnez le JRE System Library, et ajouter une règle d'accès, "Accessible, **". </span></span></span>
                    </span>
                </p>
            </div>
        
    
</body></html>